import request from '@/utils/request'

// 查询课表7列表
export function listCourses_7(query) {
  return request({
    url: '/system/courses_7/list',
    method: 'get',
    params: query
  })
}

// 查询课表7详细
export function getCourses_7(courseId) {
  return request({
    url: '/system/courses_7/' + courseId,
    method: 'get'
  })
}

// 新增课表7
export function addCourses_7(data) {
  return request({
    url: '/system/courses_7',
    method: 'post',
    data: data
  })
}

// 修改课表7
export function updateCourses_7(data) {
  return request({
    url: '/system/courses_7',
    method: 'put',
    data: data
  })
}

// 删除课表7
export function delCourses_7(courseId) {
  return request({
    url: '/system/courses_7/' + courseId,
    method: 'delete'
  })
}
